


<div class="content">
 <!--*****************  LEFT  *****************-->
      <div class="columnLeft">
          <div class="content">
              <!--*****************  MENU  *****************-->
              <div class="contentMenu">

                  <div class="contentMenuItems">
                      <ul>
                          <li class="contentMenuTitle"><?php __('Actions');?></li>
                          <li class="contentMenuSeparator"></li>
                         <li><?php echo $this->Html->link(__('Edit User', true), array('action' => 'edit', $user['User']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete User', true), array('action' => 'delete', $user['User']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $user['User']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Users', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User', true), array('action' => 'add')); ?> </li>		
		<li><?php echo $this->Html->link(__('List Statuses', true), array('controller' => 'statuses', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Status', true), array('controller' => 'statuses', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Jobfunctions', true), array('controller' => 'jobfunctions', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Jobfunction', true), array('controller' => 'jobfunctions', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Securitygroups', true), array('controller' => 'securitygroups', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Securitygroup', true), array('controller' => 'securitygroups', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Companies', true), array('controller' => 'companies', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Company', true), array('controller' => 'companies', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Groups', true), array('controller' => 'groups', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Group', true), array('controller' => 'groups', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Dmdforms', true), array('controller' => 'dmdforms', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Dmdform', true), array('controller' => 'dmdforms', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Formstatuses', true), array('controller' => 'formstatuses', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Formstatus', true), array('controller' => 'formstatuses', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Jobprofiles', true), array('controller' => 'jobprofiles', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Jobprofile', true), array('controller' => 'jobprofiles', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Powerdelegations', true), array('controller' => 'powerdelegations', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Powerdelegation', true), array('controller' => 'powerdelegations', 'action' => 'add')); ?> </li>
                          <li class="contentMenuSeparator"></li>
                          <li class="contentMenuBottom"></li>
                      </ul>
                  </div>

              </div>
          </div>
      </div>
<!--*****************  RIGHT  *****************-->
      <div class="columnRight">
          <div class="content">
              <div class="contentCenter">
                  <div class="content">
                      <div class="users view">
                        <h2><?php  __('User');?></h2>
                            <table class="showFields">
                                <tr><th><?php __('Id'); ?></th>
                                <td>
                                        <?php echo $user['User']['id']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Name'); ?></th>
                                <td>
                                        <?php echo $user['User']['name']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Surname'); ?></th>
                                <td>
                                        <?php echo $user['User']['surname']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Id Code'); ?></th>
                                <td>
                                        <?php echo $user['User']['id_code']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Id Erp'); ?></th>
                                <td>
                                        <?php echo $user['User']['id_erp']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Id Win'); ?></th>
                                <td>
                                        <?php echo $user['User']['id_win']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Id Hr'); ?></th>
                                <td>
                                        <?php echo $user['User']['id_hr']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Backup'); ?></th>
                                <td>
                                        <?php echo $this->Html->link($user['Backup']['name'], array('controller' => 'backups', 'action' => 'view', $user['Backup']['id'])); ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Manager'); ?></th>
                                <td>
                                        <?php echo $this->Html->link($user['Manager']['name'], array('controller' => 'managers', 'action' => 'view', $user['Manager']['id'])); ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Hrreferent'); ?></th>
                                <td>
                                        <?php echo $this->Html->link($user['Hrreferent']['name'], array('controller' => 'hrreferents', 'action' => 'view', $user['Hrreferent']['id'])); ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Contract Begin'); ?></th>
                                <td>
                                        <?php echo $user['User']['contract_begin']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Contract End'); ?></th>
                                <td>
                                        <?php echo $user['User']['contract_end']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Status'); ?></th>
                                <td>
                                        <?php echo $this->Html->link($user['Status']['title'], array('controller' => 'statuses', 'action' => 'view', $user['Status']['id'])); ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Jobfunction'); ?></th>
                                <td>
                                        <?php echo $this->Html->link($user['Jobfunction']['title'], array('controller' => 'jobfunctions', 'action' => 'view', $user['Jobfunction']['id'])); ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Jde User'); ?></th>
                                <td>
                                        <?php echo $user['User']['jde_user']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Baali User'); ?></th>
                                <td>
                                        <?php echo $user['User']['baali_user']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Securitygroup'); ?></th>
                                <td>
                                        <?php echo $this->Html->link($user['Securitygroup']['title'], array('controller' => 'securitygroups', 'action' => 'view', $user['Securitygroup']['id'])); ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Company'); ?></th>
                                <td>
                                        <?php echo $this->Html->link($user['Company']['title'], array('controller' => 'companies', 'action' => 'view', $user['Company']['id'])); ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Group'); ?></th>
                                <td>
                                        <?php echo $this->Html->link($user['Group']['title'], array('controller' => 'groups', 'action' => 'view', $user['Group']['id'])); ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Mail'); ?></th>
                                <td>
                                        <?php echo $user['User']['mail']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Username'); ?></th>
                                <td>
                                        <?php echo $user['User']['username']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Password'); ?></th>
                                <td>
                                        <?php echo $user['User']['password']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Notes'); ?></th>
                                <td>
                                        <?php echo $user['User']['notes']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Backup Of'); ?></th>
                                <td>
                                        <?php echo $user['User']['backup_of']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Replace'); ?></th>
                                <td>
                                        <?php echo $user['User']['replace']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Created'); ?></th>
                                <td>
                                        <?php echo $user['User']['created']; ?>
                                        
                                </td></tr>
                                <tr><th><?php __('Modified'); ?></th>
                                <td>
                                        <?php echo $user['User']['modified']; ?>
                                        
                                </td></tr>
                        
                            </table>
                    </div>
                  </div>
              </div>    
          </div>
      </div>


 </div>
<div class="clear"></div>

<div class="contentCenter">
  <h2 class="showNextDiv pointer"><?php  __('Related'); ?></h2>
  <div class="isHidden">
      <div class="related">
                <h3><?php __('Related Dmdforms');?></h3>
                <?php if (!empty($user['Dmdform'])):?>
                <table class="formstatus">
            <thead>
	<tr>
                        <th><?php __('Id'); ?></th>
                        <th><?php __('Dmdformtype Id'); ?></th>
                        <th><?php __('Code'); ?></th>
                        <th><?php __('Form Date'); ?></th>
                        <th><?php __('Execution Date'); ?></th>
                        <th><?php __('Demander Id'); ?></th>
                        <th><?php __('User Id'); ?></th>
                        <th><?php __('Is New User'); ?></th>
                        <th><?php __('User Name'); ?></th>
                        <th><?php __('User Surname'); ?></th>
                        <th><?php __('User Status Id'); ?></th>
                        <th><?php __('User Contract Begin'); ?></th>
                        <th><?php __('User Contract End'); ?></th>
                        <th><?php __('User Hrreferent Id'); ?></th>
                        <th><?php __('User Hrreferent Name'); ?></th>
                        <th><?php __('User Id Code'); ?></th>
                        <th><?php __('User Id Erp'); ?></th>
                        <th><?php __('User Id Win'); ?></th>
                        <th><?php __('User Id Hr'); ?></th>
                        <th><?php __('User Backup Of'); ?></th>
                        <th><?php __('User Backup Of Comment'); ?></th>
                        <th><?php __('User Replace'); ?></th>
                        <th><?php __('User Replace Comment'); ?></th>
                        <th><?php __('User Mail'); ?></th>
                        <th><?php __('User Jobfunction Id'); ?></th>
                        <th><?php __('Is New Jobfunction'); ?></th>
                        <th><?php __('User Jobfunction Title'); ?></th>
                        <th><?php __('User Jobprofile1 Id'); ?></th>
                        <th><?php __('User Jobprofile2 Id'); ?></th>
                        <th><?php __('User Jobprofile3 Id'); ?></th>
                        <th><?php __('User Workflow Id'); ?></th>
                        <th><?php __('User Powerdelegation Id'); ?></th>
                        <th><?php __('Backup Id'); ?></th>
                        <th><?php __('Backup Comment'); ?></th>
                        <th><?php __('Is New Backup'); ?></th>
                        <th><?php __('Backup Name'); ?></th>
                        <th><?php __('Backup Surname'); ?></th>
                        <th><?php __('Backup Id Code'); ?></th>
                        <th><?php __('Backup Id Erp'); ?></th>
                        <th><?php __('Backup Jobfunction Id'); ?></th>
                        <th><?php __('Is New Backup Jobfunction'); ?></th>
                        <th><?php __('Backup Jobfunction Title'); ?></th>
                        <th><?php __('Backup Jobprofile Ids'); ?></th>
                        <th><?php __('Backup Jobprofile Titles'); ?></th>
                        <th><?php __('Backup Created'); ?></th>
                        <th><?php __('Backup Dmdform'); ?></th>
                        <th><?php __('Manager Id'); ?></th>
                        <th><?php __('Manager Comment'); ?></th>
                        <th><?php __('Is New Manager'); ?></th>
                        <th><?php __('Manager Created'); ?></th>
                        <th><?php __('Manager Dmdform'); ?></th>
                        <th><?php __('Manager Name'); ?></th>
                        <th><?php __('Manager Surname'); ?></th>
                        <th><?php __('Manager Id Code'); ?></th>
                        <th><?php __('Manager Id Erp'); ?></th>
                        <th><?php __('Manager Mail'); ?></th>
                        <th><?php __('Profile Reference User Id'); ?></th>
                        <th><?php __('Is New Profile Reference'); ?></th>
                        <th><?php __('Profile Reference Name'); ?></th>
                        <th><?php __('Profile Reference Id'); ?></th>
                        <th><?php __('Company Id'); ?></th>
                        <th><?php __('Is New Company'); ?></th>
                        <th><?php __('Company Title'); ?></th>
                        <th><?php __('Company Code'); ?></th>
                        <th><?php __('Company Site'); ?></th>
                        <th><?php __('Company Department'); ?></th>
                        <th><?php __('Company Activity'); ?></th>
                        <th><?php __('Company Country'); ?></th>
                        <th><?php __('Closing Date'); ?></th>
                        <th><?php __('Notes'); ?></th>
                        <th><?php __('Created'); ?></th>
                        <th><?php __('Modified'); ?></th>
                        <th><?php __('Needs Pc'); ?></th>
                        <th><?php __('Pc Fix'); ?></th>
                        <th><?php __('Tool Ids'); ?></th>
                        <th><?php __('Formdata'); ?></th>
                        <th class="actions"><?php __('Actions');?></th>
               </tr></thead><tbody>
                <?php
                        $i = 0;
                        foreach ($user['Dmdform'] as $dmdform):
                                $class = null;
                                if ($i++ % 2 == 0) {
				$class = ' class="pair"';
			}else{
                            $class = ' class="impair"';
                        }
                        ?>
                        <tr<?php echo $class;?>>
                                <td><?php echo $dmdform['id'];?></td>
                                <td><?php echo $dmdform['dmdformtype_id'];?></td>
                                <td><?php echo $dmdform['code'];?></td>
                                <td><?php echo $dmdform['form_date'];?></td>
                                <td><?php echo $dmdform['execution_date'];?></td>
                                <td><?php echo $dmdform['demander_id'];?></td>
                                <td><?php echo $dmdform['user_id'];?></td>
                                <td><?php echo $dmdform['is_new_user'];?></td>
                                <td><?php echo $dmdform['user_name'];?></td>
                                <td><?php echo $dmdform['user_surname'];?></td>
                                <td><?php echo $dmdform['user_status_id'];?></td>
                                <td><?php echo $dmdform['user_contract_begin'];?></td>
                                <td><?php echo $dmdform['user_contract_end'];?></td>
                                <td><?php echo $dmdform['user_hrreferent_id'];?></td>
                                <td><?php echo $dmdform['user_hrreferent_name'];?></td>
                                <td><?php echo $dmdform['user_id_code'];?></td>
                                <td><?php echo $dmdform['user_id_erp'];?></td>
                                <td><?php echo $dmdform['user_id_win'];?></td>
                                <td><?php echo $dmdform['user_id_hr'];?></td>
                                <td><?php echo $dmdform['user_backup_of'];?></td>
                                <td><?php echo $dmdform['user_backup_of_comment'];?></td>
                                <td><?php echo $dmdform['user_replace'];?></td>
                                <td><?php echo $dmdform['user_replace_comment'];?></td>
                                <td><?php echo $dmdform['user_mail'];?></td>
                                <td><?php echo $dmdform['user_jobfunction_id'];?></td>
                                <td><?php echo $dmdform['is_new_jobfunction'];?></td>
                                <td><?php echo $dmdform['user_jobfunction_title'];?></td>
                                <td><?php echo $dmdform['user_jobprofile1_id'];?></td>
                                <td><?php echo $dmdform['user_jobprofile2_id'];?></td>
                                <td><?php echo $dmdform['user_jobprofile3_id'];?></td>
                                <td><?php echo $dmdform['user_workflow_id'];?></td>
                                <td><?php echo $dmdform['user_powerdelegation_id'];?></td>
                                <td><?php echo $dmdform['backup_id'];?></td>
                                <td><?php echo $dmdform['backup_comment'];?></td>
                                <td><?php echo $dmdform['is_new_backup'];?></td>
                                <td><?php echo $dmdform['backup_name'];?></td>
                                <td><?php echo $dmdform['backup_surname'];?></td>
                                <td><?php echo $dmdform['backup_id_code'];?></td>
                                <td><?php echo $dmdform['backup_id_erp'];?></td>
                                <td><?php echo $dmdform['backup_jobfunction_id'];?></td>
                                <td><?php echo $dmdform['is_new_backup_jobfunction'];?></td>
                                <td><?php echo $dmdform['backup_jobfunction_title'];?></td>
                                <td><?php echo $dmdform['backup_jobprofile_ids'];?></td>
                                <td><?php echo $dmdform['backup_jobprofile_titles'];?></td>
                                <td><?php echo $dmdform['backup_created'];?></td>
                                <td><?php echo $dmdform['backup_dmdform'];?></td>
                                <td><?php echo $dmdform['manager_id'];?></td>
                                <td><?php echo $dmdform['manager_comment'];?></td>
                                <td><?php echo $dmdform['is_new_manager'];?></td>
                                <td><?php echo $dmdform['manager_created'];?></td>
                                <td><?php echo $dmdform['manager_dmdform'];?></td>
                                <td><?php echo $dmdform['manager_name'];?></td>
                                <td><?php echo $dmdform['manager_surname'];?></td>
                                <td><?php echo $dmdform['manager_id_code'];?></td>
                                <td><?php echo $dmdform['manager_id_erp'];?></td>
                                <td><?php echo $dmdform['manager_mail'];?></td>
                                <td><?php echo $dmdform['profile_reference_user_id'];?></td>
                                <td><?php echo $dmdform['is_new_profile_reference'];?></td>
                                <td><?php echo $dmdform['profile_reference_name'];?></td>
                                <td><?php echo $dmdform['profile_reference_id'];?></td>
                                <td><?php echo $dmdform['company_id'];?></td>
                                <td><?php echo $dmdform['is_new_company'];?></td>
                                <td><?php echo $dmdform['company_title'];?></td>
                                <td><?php echo $dmdform['company_code'];?></td>
                                <td><?php echo $dmdform['company_site'];?></td>
                                <td><?php echo $dmdform['company_department'];?></td>
                                <td><?php echo $dmdform['company_activity'];?></td>
                                <td><?php echo $dmdform['company_country'];?></td>
                                <td><?php echo $dmdform['closing_date'];?></td>
                                <td><?php echo $dmdform['notes'];?></td>
                                <td><?php echo $dmdform['created'];?></td>
                                <td><?php echo $dmdform['modified'];?></td>
                                <td><?php echo $dmdform['needs_pc'];?></td>
                                <td><?php echo $dmdform['pc_fix'];?></td>
                                <td><?php echo $dmdform['tool_ids'];?></td>
                                <td><?php echo $dmdform['formdata'];?></td>
                                <td class="actions">
                                        <?php echo $this->Html->link(__('View', true), array('controller' => 'dmdforms', 'action' => 'view', $dmdform['id']),array('class'=>'details')); ?>
                                        <?php echo $this->Html->link(__('Edit', true), array('controller' => 'dmdforms', 'action' => 'edit', $dmdform['id']),array('class'=>'edit')); ?>
                                        <?php echo $this->Html->link(__('Delete', true), array('controller' => 'dmdforms', 'action' => 'delete', $dmdform['id']), array('class'=>'FormDelete'), sprintf(__('Are you sure you want to delete # %s?', true), $dmdform['id'])); ?>
                                </td>
                        </tr>
                <?php endforeach; ?>
                </tbody></table>
        <?php endif; ?>

                <div class="showNextBtn"><?php echo $this->Html->link(__('New Dmdform', true), array('controller' => 'dmdforms', 'action' => 'add'));?></div>
        </div>
        <div class="related">
                <h3><?php __('Related Formstatuses');?></h3>
                <?php if (!empty($user['Formstatus'])):?>
                <table class="formstatus">
            <thead>
	<tr>
                        <th><?php __('Id'); ?></th>
                        <th><?php __('Dmdforms Dmdformtype Id'); ?></th>
                        <th><?php __('Dmdformstatus Id'); ?></th>
                        <th><?php __('Dmdform Id'); ?></th>
                        <th><?php __('Has Risks'); ?></th>
                        <th><?php __('Risks Date'); ?></th>
                        <th><?php __('Risks Notes'); ?></th>
                        <th><?php __('Needs Cc'); ?></th>
                        <th><?php __('Cc Date'); ?></th>
                        <th><?php __('Cc Notes'); ?></th>
                        <th><?php __('Accepted'); ?></th>
                        <th><?php __('Accepted Date'); ?></th>
                        <th><?php __('Accepted Notes'); ?></th>
                        <th><?php __('Accepted Cc'); ?></th>
                        <th><?php __('Accepted Cc Date'); ?></th>
                        <th><?php __('Accepted Cc Notes'); ?></th>
                        <th><?php __('Rejected'); ?></th>
                        <th><?php __('Rejected Date'); ?></th>
                        <th><?php __('Rejected Notes'); ?></th>
                        <th><?php __('Eico Visa'); ?></th>
                        <th><?php __('Eico Visa Date'); ?></th>
                        <th><?php __('Eico Visa Notes'); ?></th>
                        <th><?php __('Days Process'); ?></th>
                        <th><?php __('Created'); ?></th>
                        <th><?php __('Modified'); ?></th>
                        <th><?php __('Manager Visa'); ?></th>
                        <th><?php __('Manager Visa Date'); ?></th>
                        <th><?php __('New Manager Visa'); ?></th>
                        <th><?php __('New Manager Visa Date'); ?></th>
                        <th><?php __('Closing Date'); ?></th>
                        <th><?php __('Demander Id'); ?></th>
                        <th><?php __('User Id'); ?></th>
                        <th class="actions"><?php __('Actions');?></th>
               </tr></thead><tbody>
                <?php
                        $i = 0;
                        foreach ($user['Formstatus'] as $formstatus):
                                $class = null;
                                if ($i++ % 2 == 0) {
				$class = ' class="pair"';
			}else{
                            $class = ' class="impair"';
                        }
                        ?>
                        <tr<?php echo $class;?>>
                                <td><?php echo $formstatus['id'];?></td>
                                <td><?php echo $formstatus['dmdforms_dmdformtype_id'];?></td>
                                <td><?php echo $formstatus['dmdformstatus_id'];?></td>
                                <td><?php echo $formstatus['dmdform_id'];?></td>
                                <td><?php echo $formstatus['has_risks'];?></td>
                                <td><?php echo $formstatus['risks_date'];?></td>
                                <td><?php echo $formstatus['risks_notes'];?></td>
                                <td><?php echo $formstatus['needs_cc'];?></td>
                                <td><?php echo $formstatus['cc_date'];?></td>
                                <td><?php echo $formstatus['cc_notes'];?></td>
                                <td><?php echo $formstatus['accepted'];?></td>
                                <td><?php echo $formstatus['accepted_date'];?></td>
                                <td><?php echo $formstatus['accepted_notes'];?></td>
                                <td><?php echo $formstatus['accepted_cc'];?></td>
                                <td><?php echo $formstatus['accepted_cc_date'];?></td>
                                <td><?php echo $formstatus['accepted_cc_notes'];?></td>
                                <td><?php echo $formstatus['rejected'];?></td>
                                <td><?php echo $formstatus['rejected_date'];?></td>
                                <td><?php echo $formstatus['rejected_notes'];?></td>
                                <td><?php echo $formstatus['eico_visa'];?></td>
                                <td><?php echo $formstatus['eico_visa_date'];?></td>
                                <td><?php echo $formstatus['eico_visa_notes'];?></td>
                                <td><?php echo $formstatus['days_process'];?></td>
                                <td><?php echo $formstatus['created'];?></td>
                                <td><?php echo $formstatus['modified'];?></td>
                                <td><?php echo $formstatus['manager_visa'];?></td>
                                <td><?php echo $formstatus['manager_visa_date'];?></td>
                                <td><?php echo $formstatus['new_manager_visa'];?></td>
                                <td><?php echo $formstatus['new_manager_visa_date'];?></td>
                                <td><?php echo $formstatus['closing_date'];?></td>
                                <td><?php echo $formstatus['demander_id'];?></td>
                                <td><?php echo $formstatus['user_id'];?></td>
                                <td class="actions">
                                        <?php echo $this->Html->link(__('View', true), array('controller' => 'formstatuses', 'action' => 'view', $formstatus['id']),array('class'=>'details')); ?>
                                        <?php echo $this->Html->link(__('Edit', true), array('controller' => 'formstatuses', 'action' => 'edit', $formstatus['id']),array('class'=>'edit')); ?>
                                        <?php echo $this->Html->link(__('Delete', true), array('controller' => 'formstatuses', 'action' => 'delete', $formstatus['id']), array('class'=>'FormDelete'), sprintf(__('Are you sure you want to delete # %s?', true), $formstatus['id'])); ?>
                                </td>
                        </tr>
                <?php endforeach; ?>
                </tbody></table>
        <?php endif; ?>

                <div class="showNextBtn"><?php echo $this->Html->link(__('New Formstatus', true), array('controller' => 'formstatuses', 'action' => 'add'));?></div>
        </div>
        <div class="related">
                <h3><?php __('Related Jobprofiles');?></h3>
                <?php if (!empty($user['Jobprofile'])):?>
                <table class="formstatus">
            <thead>
	<tr>
                        <th><?php __('Id'); ?></th>
                        <th><?php __('Title'); ?></th>
                        <th><?php __('Code'); ?></th>
                        <th><?php __('Subfunction'); ?></th>
                        <th><?php __('Family'); ?></th>
                        <th><?php __('File'); ?></th>
                        <th><?php __('Description'); ?></th>
                        <th><?php __('Created'); ?></th>
                        <th><?php __('Modified'); ?></th>
                        <th class="actions"><?php __('Actions');?></th>
                </tr></thead><tbody>
                <?php
                        $i = 0;
                        foreach ($user['Jobprofile'] as $jobprofile):
                                $class = null;
                                if ($i++ % 2 == 0) {
				$class = ' class="pair"';
			}else{
                            $class = ' class="impair"';
                        }
                        ?>
                        <tr<?php echo $class;?>>
                                <td><?php echo $jobprofile['id'];?></td>
                                <td><?php echo $jobprofile['title'];?></td>
                                <td><?php echo $jobprofile['code'];?></td>
                                <td><?php echo $jobprofile['subfunction'];?></td>
                                <td><?php echo $jobprofile['family'];?></td>
                                <td><?php echo $jobprofile['file'];?></td>
                                <td><?php echo $jobprofile['description'];?></td>
                                <td><?php echo $jobprofile['created'];?></td>
                                <td><?php echo $jobprofile['modified'];?></td>
                                <td class="actions">
                                        <?php echo $this->Html->link(__('View', true), array('controller' => 'jobprofiles', 'action' => 'view', $jobprofile['id']),array('class'=>'details')); ?>
                                        <?php echo $this->Html->link(__('Edit', true), array('controller' => 'jobprofiles', 'action' => 'edit', $jobprofile['id']),array('class'=>'edit')); ?>
                                        <?php echo $this->Html->link(__('Delete', true), array('controller' => 'jobprofiles', 'action' => 'delete', $jobprofile['id']), array('class'=>'FormDelete'), sprintf(__('Are you sure you want to delete # %s?', true), $jobprofile['id'])); ?>
                                </td>
                        </tr>
                <?php endforeach; ?>
              </tbody></table>
        <?php endif; ?>

               <div class="showNextBtn"><?php echo $this->Html->link(__('New Jobprofile', true), array('controller' => 'jobprofiles', 'action' => 'add'));?> </div>
        </div>
        <div class="related">
                <h3><?php __('Related Powerdelegations');?></h3>
                <?php if (!empty($user['Powerdelegation'])):?>
                <table class="formstatus">
            <thead>
	<tr>
                        <th><?php __('Id'); ?></th>
                        <th><?php __('Amount From'); ?></th>
                        <th><?php __('Amount To'); ?></th>
                        <th><?php __('Level Nb'); ?></th>
                        <th><?php __('Procurement Validator'); ?></th>
                        <th><?php __('Workflow Id'); ?></th>
                        <th><?php __('Created'); ?></th>
                        <th><?php __('Modified'); ?></th>
                        <th class="actions"><?php __('Actions');?></th>
                </tr></thead><tbody>
                <?php
                        $i = 0;
                        foreach ($user['Powerdelegation'] as $powerdelegation):
                                $class = null;
                                if ($i++ % 2 == 0) {
				$class = ' class="pair"';
			}else{
                            $class = ' class="impair"';
                        }
                        ?>
                        <tr<?php echo $class;?>>
                                <td><?php echo $powerdelegation['id'];?></td>
                                <td><?php echo $powerdelegation['amount_from'];?></td>
                                <td><?php echo $powerdelegation['amount_to'];?></td>
                                <td><?php echo $powerdelegation['level_nb'];?></td>
                                <td><?php echo $powerdelegation['procurement_validator'];?></td>
                                <td><?php echo $powerdelegation['workflow_id'];?></td>
                                <td><?php echo $powerdelegation['created'];?></td>
                                <td><?php echo $powerdelegation['modified'];?></td>
                                <td class="actions">
                                        <?php echo $this->Html->link(__('View', true), array('controller' => 'powerdelegations', 'action' => 'view', $powerdelegation['id']),array('class'=>'details')); ?>
                                        <?php echo $this->Html->link(__('Edit', true), array('controller' => 'powerdelegations', 'action' => 'edit', $powerdelegation['id']),array('class'=>'edit')); ?>
                                        <?php echo $this->Html->link(__('Delete', true), array('controller' => 'powerdelegations', 'action' => 'delete', $powerdelegation['id']), array('class'=>'FormDelete'), sprintf(__('Are you sure you want to delete # %s?', true), $powerdelegation['id'])); ?>
                                </td>
                        </tr>
                <?php endforeach; ?>
               </tbody></table>
        <?php endif; ?>

                <div class="showNextBtn"><?php echo $this->Html->link(__('New Powerdelegation', true), array('controller' => 'powerdelegations', 'action' => 'add'));?> </div>
        </div>


</div>
</div>

<div class="clear"></div>
